package com.shine.controller.shuihu;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
 * 处理shuihu功能模块所有的业务
 *  增删改查
 */
@WebServlet("/shuihu")
public class ShuihuController extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }

    protected void doGet(HttpServletRequest request, HttpServletResponse response){
        String method = request.getParameter("method");
    }

    public String savaShuiHu(HttpServletRequest request, HttpServletResponse response){
        return "";
    }

    public String deleteShuiHu(HttpServletRequest request, HttpServletResponse response){
        return "";
    }

    public String updateShuiHu(HttpServletRequest request, HttpServletResponse response){
        return "";
    }

    public String queryShuiHu(HttpServletRequest request, HttpServletResponse response){
        return "";
    }

    public String queryAllShuiHu(HttpServletRequest request, HttpServletResponse response){
        return "";
    }
}
